﻿namespace EnterpriseLibraryExtensions.Events
{
    /// <summary>
    /// Derive from this class instead of HandlesEvent to easily create an asynchronious event handler.
    /// </summary>
    /// <typeparam name="TEventType">The type of event the derived class will handle asynchroniously.</typeparam>
    public abstract class HandlesEventAsync<TEventType> : HandlesEvent<TEventType>
    {
        /// <summary>
        /// Initializes a new instance of the HandlesEventAsync class.
        /// </summary>
        protected HandlesEventAsync()
            : base(true)
        {
        }
    }
}
